package com.xiyue.leaspring.service;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@ContextConfiguration(locations = {"classpath:spring/spring-jpa.xml"})
@RunWith(SpringJUnit4ClassRunner.class)
public class IDeptServiceTest3 {

	@Autowired
	private IDeptService_PagingAndSortingRepository deptService;
	
	@Test
	public void testPageSortDept() {
		System.out.println(this.deptService.listPageSort(1,2));
	}
	

}
